Hello,
I am in the process of trying to make some existing web pages comply with
W3C's HTML 4.01 Recommendation ('strict' where possible, 'loose' where
not -- i.e. when using framesets and, hence, the 'target' attribute of the
<a> tag...)
I have so far been unsuccessful in finding a compliant equivalent of the
'border' attribute of the <frameset> tag.
<frameset border="0"....>
<frame frameborder="0"...>
produces frames without borders, but W3C's validator says that there is no
attribute 'border'.
Attempting to use CSS instead, the following seem to have no effect:
frameset
{
border-width: 0px; -AND/OR-
border-style: none; -AND/OR-
border-style: hidden; -AND/OR-
border-collapse: collapse; -whatever THAT means-
}
but all leave me with a narrow two- or three-pixel (ish) border that can
only be described as tenacious.
Does anyone know how to achieve the equivalent of <frameset border="0"...>
using CSS to produce something W3C compliant?
If it makes any difference, I'm viewing my attempts using IE6.
Thank you.
A. 13 52130
"Andrew C." <re**************@andrewcornes.com.remove> wrote in message
news:28******************************@news.teranew s.com... Hello,
I am in the process of trying to make some existing web pages comply with W3C's HTML 4.01 Recommendation ('strict' where possible, 'loose' where not -- i.e. when using framesets and, hence, the 'target' attribute of the <a> tag...)
I have so far been unsuccessful in finding a compliant equivalent of the 'border' attribute of the <frameset> tag.
<frameset border="0"....> <frame frameborder="0"...>
produces frames without borders, but W3C's validator says that there is no attribute 'border'.
<frameset>
<frame frameborder="0">
</frameset>
That should do it. Also, you'll probably want to be validating the page
that contains the frameset with the Frameset DTD.
Regards,
Peter Foti
Andrew C. wrote: Hello,
I am in the process of trying to make some existing web pages comply with W3C's HTML 4.01 Recommendation ('strict' where possible, 'loose' where not -- i.e. when using framesets and, hence, the 'target' attribute of the <a> tag...)
I have so far been unsuccessful in finding a compliant equivalent of the 'border' attribute of the <frameset> tag.
<frameset border="0"....> <frame frameborder="0"...>
produces frames without borders, but W3C's validator says that there is no attribute 'border'.
Attempting to use CSS instead, the following seem to have no effect:
frameset { border-width: 0px; -AND/OR- border-style: none; -AND/OR- border-style: hidden; -AND/OR- border-collapse: collapse; -whatever THAT means- }
but all leave me with a narrow two- or three-pixel (ish) border that can only be described as tenacious.
Does anyone know how to achieve the equivalent of <frameset border="0"...> using CSS to produce something W3C compliant?
If it makes any difference, I'm viewing my attempts using IE6.
There is no attribute border for frameset, but you won't
need it when using frameborder="0" on the frames, not the
frameset.
The white 'borders' you're still seeing, is the
framespacing, which can be set to "0" and should be applied
to the framesets, but unfortunately isn't valid under 4.01 :-(
--
Els
Sonhos vem. Sonhos văo. O resto é imperfeito.
- Renato Russo - <frameset> <frame frameborder="0"> </frameset>
That should do it. Also, you'll probably want to be validating the page that contains the frameset with the Frameset DTD.
Unfortunately, this doesn't work -- I still get that two- or three-pixel
border without a 'border=0' in the <frameset> tag.
A. The white 'borders' you're still seeing, is the framespacing, which can be set to "0" and should be applied to the framesets, but unfortunately isn't valid under 4.01 :-(
As you say, using <frameset framespacing="0"...> works as well as <frameset
border="0"...> but neither of them are 4.01-compliant. So, unless I find an
alternative that is compliant, I may as well stick with 'border': it's less
typing! ;)
A.
"Andrew C." <re**************@andrewcornes.com.remove> wrote in message
news:d5******************************@news.teranew s.com... <frameset> <frame frameborder="0"> </frameset>
That should do it. Also, you'll probably want to be validating the page that contains the frameset with the Frameset DTD.
Unfortunately, this doesn't work -- I still get that two- or three-pixel border without a 'border=0' in the <frameset> tag.
Ah, correct you are. This seems to be the case in all of the major
browsers, including Mozilla. My suggestion would be to avoid frames, but if
that's not an option for you, then I would suggest letting your frameset
document be invalid by adding the border="0" attribute to the frameset, and
then making sure that all of the documents contained within frames are valid
(note that the framespacing attribute does not seem to work for Netscape 4,
which is why I suggest the border attribute). I don't *think* there is a
CSS solution for this.
Regards,
Peter Foti
"Andrew C." <re**************@andrewcornes.com.remove> wrote in message
news:19******************************@news.teranew s.com... The white 'borders' you're still seeing, is the framespacing, which can be set to "0" and should be applied to the framesets, but unfortunately isn't valid under 4.01 :-( As you say, using <frameset framespacing="0"...> works as well as
<frameset border="0"...> but neither of them are 4.01-compliant. So, unless I find
an alternative that is compliant, I may as well stick with 'border': it's
less typing! ;)
A.
I still have to see the light why validation is so important, what the whole
DOCTYPE circus is good for. If you want, you can add a few lines to a custom
dtd defining border and frameborder and any other attributes you fancy, so
that your frames *will* validate. See http://htmlhelp.com/tools/validator/customdtd.html
In my view, a site validates if a user can see it in his browser.
HTH
Ivo
In article <40***********************@news.wanadoo.nl>, no@thank.you
enlightened us with... I still have to see the light why validation is so important, what the whole DOCTYPE circus is good for.
I think it's to make sure your site "behaves" in browsers other than the
IE/Netscape popular browsers.
There's a shitload of browsers out there I'd never even heard of until I
saw them mentioned on Usenet.
Then of course, there's the questions like "why doesn't my page work"
and then you go validate it and the html is horrendous. :)
--
--
~kaeli~
Is it true that cannibals don't eat clowns because they
taste funny? http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
Ivo: In my view, a site validates if a user can see it in his browser.
Is it enough if all users _today_ can see the site in their browsers?
Or do you care about the users (and the browsers) of next year, and the
year after that, as well?
How do you know all users can see the site in their browsers?
--
Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>
"Bertilo Wennergren" <be******@gmx.net> wrote in message
news:c1*************@news.t-online.com... Ivo:
In my view, a site validates if a user can see it in his browser. Is it enough if all users _today_ can see the site in their browsers?
Or do you care about the users (and the browsers) of next year, and the year after that, as well?
Yes, o very much. That 's exactly why all that "content" out in the open
must be looked after continuously and updated to reflect new standards or
become ...old.
Technology changes and I am convinced the browser of tomorrow will be able
to detect the type of document without a !DOCTYPE. Less is more. I also have
no doubt it will be able to render a font tag even though the standard tells
otherwise.
I am no enemy of standards, but have never understood what this
tag-to-end-all-tags was supposed to *do* except validate. As soon as soon as
browser sniffing was invented, browser spoofing was invented, as soon as
doctypes were invented, quirksmode was invented. I read on another
developer's site: suddenly twice as many browsers to test my pages in! That
's more or less the opposite effect of what a standard is supposed to
achieve, isn't it?
How do you know all users can see the site in their browsers?
A w3c standard is no guarantee. Being indexed by our friend the Googlebot
is, yet another kind of validation.
Yours conformistically,
Ivo
-- Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>
Ivo: "Bertilo Wennergren" <be******@gmx.net> wrote in message news:c1*************@news.t-online.com...
Ivo:
> In my view, a site validates if a user can see it in his browser.
Is it enough if all users _today_ can see the site in their browsers?
Or do you care about the users (and the browsers) of next year, and the year after that, as well?
Yes, o very much. That 's exactly why all that "content" out in the open must be looked after continuously and updated to reflect new standards or become ...old.
Would it be better to make the content future safe without the need for
continuous maintenance - as far as possible? If you make sure you're
code is valid, there's much less risk that you'll have to redo the code
when new and better browsers appear. It's not fail-safe, but it's a very
good start.
Technology changes and I am convinced the browser of tomorrow will be able to detect the type of document without a !DOCTYPE. Less is more. I also have no doubt it will be able to render a font tag even though the standard tells otherwise.
Probably. But that does not go for each and every mistake that makes you
code invalid. It's has happend before that pages that used to work in
browsers, stopped working when a new and more standards compliant
version of a browser came out.
I am no enemy of standards, but have never understood what this tag-to-end-all-tags was supposed to *do* except validate. As soon as soon as browser sniffing was invented, browser spoofing was invented, as soon as doctypes were invented, quirksmode was invented. I read on another developer's site: suddenly twice as many browsers to test my pages in! That 's more or less the opposite effect of what a standard is supposed to achieve, isn't it?
I think you're mixing a lot of different things in the same pot in a
very confused way.
Don't sniff. Use the latest (and strictest) HTML version that works in
major browsers. Make sur you trigger standards mode. Validate. Test in
the major browsers (including Lynx). If anything gives problems,
simplify. Stay valid. What more do you want?
How do you know all users can see the site in their browsers?
A w3c standard is no guarantee.
Indeed. But using only valid code is the closest surrogate we have for
testing on tomorrows browsers. Using invalid code is very risky, even
when it happens to work in today's browsers.
--
Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>
"Bertilo Wennergren" <be******@gmx.net> wrote in message
news:c1*************@news.t-online.com... Ivo:
"Bertilo Wennergren" <be******@gmx.net> wrote in message news:c1*************@news.t-online.com... Ivo: Technology changes and I am convinced the browser of tomorrow will be able to detect the type of document without a !DOCTYPE. Less is more. I also have no doubt it will be able to render a font tag even though the standard tells otherwise.
Probably. But that does not go for each and every mistake that makes you code invalid. It's has happend before that pages that used to work in browsers, stopped working when a new and more standards compliant version of a browser came out.
Mistakes in the code are made. Some mistakes make a page not pass 'the
validation test', some mistakes leave a page blank for the human eye, some
mistakes cause a search engine spider to misinterpret a site, and the common
goal is to make those mistakes overlap eachother more and more in our
understanding, defining and engineering of an Internet technology as
undemanding as possible, where even the most messy markup can be accessed
and interpreted. I am no enemy of standards, but have never understood what this tag-to-end-all-tags was supposed to *do* except validate.
(...) Use the latest (and strictest) HTML version that works in major browsers. Make sur you trigger standards mode. Validate. Test in the major browsers (including Lynx). If anything gives problems, simplify. Stay valid. What more do you want?
I want to be able to fill my HTML with embeds, bgcolors and -like the OP-
frameborders, and other stuff that is simply ignored by browsers unless it
understands it and when I am happy with the result, seeing that the page
gets visited by both bots and humans, be able to say that my code is valid.
My point is merely I find the Validation thing often overrated in
discussions here as it has restricted our freedom more than anything else
and it will never replace that final test: the real validation does not take
place until a human sees the page. If it is a ten year old document, the
human (and a good browser) will be prepared for some old-fashioned wording.
Ivo
-- Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>
Ivo: "Bertilo Wennergren"
Use the latest (and strictest) HTML version that works in major browsers. Make sur you trigger standards mode. Validate. Test in the major browsers (including Lynx). If anything gives problems, simplify. Stay valid. What more do you want?
I want to be able to fill my HTML with embeds, bgcolors and -like the OP- frameborders, and other stuff that is simply ignored by browsers unless it understands it and when I am happy with the result, seeing that the page gets visited by both bots and humans, be able to say that my code is valid.
Then make a carefully crafted custom DTD that includes the additional
stuff you need, and use the validator to control that you've correctly
followed the rules you've set up for yourself.
My point is merely I find the Validation thing often overrated in discussions here as it has restricted our freedom more than anything else and it will never replace that final test: the real validation does not take place until a human sees the page.
Of course validation can't replace testing in actual browsers, and with
actual humans. I don't think anyone seriously advocates anything else.
--
Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com>
I just wrote: Ivo:
My point is merely I find the Validation thing often overrated in discussions here as it has restricted our freedom more than anything else and it will never replace that final test: the real validation does not take place until a human sees the page.
Of course validation can't replace testing in actual browsers, and with actual humans. I don't think anyone seriously advocates anything else.
Well, that didn't come out right. I meant:
Of course validation can't replace testing in actual browsers, and with
actual humans. I don't think anyone seriously advocates that it can.
--
Bertilo Wennergren <be******@gmx.net> <http://www.bertilow.com> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Wallace |
last post by:
I have a frameset with a nested frameset, like follows:
frameset
frame
frameset
frame
frame
Now, my problem is that even though I set the border, frameborder and
framespacing to zero, I...
|
by: Jun |
last post by:
How can I catch onMouseDown event on a frame/frameset?
When I right mouse click at the border area of a frame, I can still
get the Window's standard popup menu.
How can I catch the mouse click...
|
by: Manu |
last post by:
Hello, i don't arrive to find a alternative for no border between 2 frame !
with IE no problem i use : framespacing="0"
but for W3C how do ?
Here my sample code :
<!DOCTYPE HTML PUBLIC...
|
by: Rob McLennan - ZETLAND |
last post by:
Hi,
I have set up a print-friendly stylesheet (print.css) for a website
which is built as a frameset (made up of a top and bottom frame). When
going to File/Print Preview in IE6, bevelled margins...
|
by: Andy Fish |
last post by:
Hi,
I have a simple frameset with a banner across the top and a menu down the
side like this:
<frameset rows="75,*">
<frame name="banner" noresize >
<frameset cols="220,*">
<frame...
|
by: Steel |
last post by:
hi at all,
can I include into a css file some frame and frameset propertyes like
border=0?
How?
thank in advance
Steel
|
by: Mark |
last post by:
Hi
If i use this doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
i can not use the attributes framespacing and border like...
|
by: Glen Vermeylen |
last post by:
Hi,
For a project at school we have to automate the assignment of seats in
classrooms to students during the exams.
The lady who previously did everything manually kept the layouts of the...
|
by: satchmo67 |
last post by:
Howdy,
I want to reply to a really old post on this subject. The original poster was battling with the problem of trying to validate a frameset page and use the border attribute. I have been down...
|
by: nicstel |
last post by:
Hello,
I'm trying to find documentation about the xlwt (py_excelerator). I want to change the border of some cells. But the only types that I found is: double and dashed. How to do a simple line...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |